package com.bank.pojo;

import java.util.HashSet;
import java.util.Set;

/**
 * BankType entity. @author MyEclipse Persistence Tools
 */

public class BankType implements java.io.Serializable {

	// Fields

	private Integer typeId;
	private String typeName;
	private Set bankTrades = new HashSet(0);
	private Set bankSaves = new HashSet(0);

	// Constructors

	/** default constructor */
	public BankType() {
	}

	/** minimal constructor */
	public BankType(String typeName) {
		this.typeName = typeName;
	}

	/** full constructor */
	public BankType(String typeName, Set bankTrades, Set bankSaves) {
		this.typeName = typeName;
		this.bankTrades = bankTrades;
		this.bankSaves = bankSaves;
	}

	// Property accessors

	public Integer getTypeId() {
		return this.typeId;
	}

	public void setTypeId(Integer typeId) {
		this.typeId = typeId;
	}

	public String getTypeName() {
		return this.typeName;
	}

	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}

	public Set getBankTrades() {
		return this.bankTrades;
	}

	public void setBankTrades(Set bankTrades) {
		this.bankTrades = bankTrades;
	}

	public Set getBankSaves() {
		return this.bankSaves;
	}

	public void setBankSaves(Set bankSaves) {
		this.bankSaves = bankSaves;
	}

}